'use strict';

module.exports = app => {
    const { STRING, INTEGER, TEXT } = app.Sequelize;

    const Adminrole = app.model.define('admin_role', {
        role_id: {
            type: INTEGER,
            primaryKey: true,
            autoIncrement: true,
        },
        role_name: STRING(30),
        act_list: TEXT,
        role_desc: STRING(255),
    });

    return Adminrole;
};